<div style="position: relative">
	<input type="text" ng-model="searchText" ng-focus="updateList()"
		ng-blur="inp=false;searchText=inp||sel?searchText:epModel[epAs];">
	<select ng-focus="sel=true" ng-blur="sel=false" ng-show="inp||sel"
		style="position: absolute; z-index: 500" ng-model="selectedValue"
		ng-attr-size="{{2}}" ng-options="o[epAs] for o in optionsF"
		ng-click="updateModel()">
	</select>
	<div class="list-group autocomplete" ng-hide="true">
		<a href="" class="list-group-item" ng-repeat="o in optionsF" ng-bind="o[epAs]"></a>
	</div>

</div>